#pragma once
#include "cupid.h"
namespace cupid
{

class	IListenSocket
{
public:
	static IListenSocket*	createNew();

	virtual bool listen(int port)	=	0;

	virtual SOCKET	accept()		=	0;

	virtual void	close()			=	0;

	virtual SOCKET	socket()		=	0;
};

};